package com.ceit.dao;

import com.ceit.model.Rightorwrong;
import com.ceit.model.RightorwrongExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RightorwrongMapper {

    int countByExample(RightorwrongExample example);

    int deleteByExample(RightorwrongExample example);

    int deleteByPrimaryKey(Integer questionid);

    int insert(Rightorwrong record);

    int insertSelective(Rightorwrong record);

    List<Rightorwrong> selectByExample(RightorwrongExample example);

    Rightorwrong selectByPrimaryKey(Integer questionid);

    int updateByExampleSelective(@Param("record") Rightorwrong record, @Param("example") RightorwrongExample example);

    int updateByExample(@Param("record") Rightorwrong record, @Param("example") RightorwrongExample example);

    int updateByPrimaryKeySelective(Rightorwrong record);

    int updateByPrimaryKey(Rightorwrong record);
}